C Programming :: Library Functions
-
What will be the output of the program?
#include
int main() { int i; i = printf("How r u\n"); i = printf("%d\n", i); printf("%d\n", i); return 0; } -
What will be the output of the program?
#include
-
What will be the output of the program?
#include
int main() { int i; i = scanf("%d %d", &i, &i); printf("%d\n", i); return 0; } -
What will be the output of the program?
#include
-
What will be the output of the program?
#include
int main() { char *i = "55.555"; int result1 = 10; float result2 = 11.111; result1 = result1+atoi(i); result2 = result2+atof(i); printf("%d, %f", result1, result2); return 0; } -
What will be the output of the program?
#include
int main() { char dest[] = {97, 97, 0}; char src[] = "aaa"; int i; if((i = memcmp(dest, src, 2))==0) printf("Got it"); else printf("Missed"); return 0; } -
What will function gcvt() do?
-
What will be the output of the program?
#include
int main() { int i; char c; for(i=1; i5; i++) { scanf("%c", &c); /* given input is 'a' */ printf("%c", c); ungetc(c, stdin); } return 0; }