Answers for "print string in c"

C
6

how to print int in c

#include <stdio.h>
int main() {   
    int number;   
    printf("Enter an integer: ");  
    scanf("%d", &number);
    printf("You entered: %d", number);    
    return 0;
}
Posted by: Guest on June-13-2020
1

print in c

printf()
Posted by: Guest on March-27-2020
0

printing out 2 strings in c

// Use of Getstring 
#include<stdio.h>
int main(){
char name[100];
int age;
printf("Enter your name\n");
gets(name);
printf("your name is %s", name);
}
//In the terminal your name is (name input)
Posted by: Guest on February-03-2021
0

print to console in c

printf("string");
Posted by: Guest on October-23-2020

Code answers related to "C"

Browse Popular Code Answers by Language