main()
{
41printf("%p",main);
}8
Answer / susie
Answer :
Some address will be printed.
Explanation:
Function names are just addresses (just like array
names are addresses).
main() is also a function. So the address of function main
will be printed. %p in printf specifies that the argument is
an address. They are printed as hexadecimal numbers.
Is This Answer Correct ? | 4 Yes | 0 No |
What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
what is the code of the output of print the 10 fibonacci number series
write a simple calculator c program to perform addition, subtraction, mul and div.
0 Answers United Healthcare, Virtusa,
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
why is printf("%d %d %d",i++,--i,i--);
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }
main() { main(); }
main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }
void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }
main() { int a=2,*f1,*f2; f1=f2=&a; *f2+=*f2+=a+=2.5; printf("\n%d %d %d",a,*f1,*f2); }