#include<stdio.h>
main()
{
register i=5;
char j[]= "hello";
printf("%s %d",j,i);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
hello 5
Explanation:
if you declare i as register compiler will treat it as
ordinary integer and it will take integer value. i value may
be stored either in register or in memory.
Is This Answer Correct ? | 2 Yes | 0 No |
Which version do you prefer of the following two, 1) printf(ā%sā,str); // or the more curt one 2) printf(str);
why is printf("%d %d %d",i++,--i,i--);
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
main() { int i=400,j=300; printf("%d..%d"); }
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
Write a C program to add two numbers before the main function is called.
write a program in c to merge two array
main() { int c = 5; printf("%d", main||c); } a. 1 b. 5 c. 0 d. none of the above
how to return a multiple value from a function?
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("\n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); } a. 4, 4, 4 b. 40, 4, 4 c. 1, 100, 1 d. 40 400 4
What is your nationality?
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines