main()

{

41printf("%p",main);

}8



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

Post New Answer

More C Code Interview Questions

Find your day from your DOB?

15 Answers   Accenture, Microsoft,


#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??

1 Answers  


how can i search an element in an array

2 Answers   CTS, Microsoft, ViPrak,


writte a c-programm to display smill paces

2 Answers  


main() { int a[10]; printf("%d",*a+1-*a+3); }

1 Answers  






main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }

1 Answers  


how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..!

8 Answers   GATE,


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

3 Answers   Wipro,


Is this code legal? int *ptr; ptr = (int *) 0x400;

1 Answers  


plz send me all data structure related programs

2 Answers  


write a c program to print magic square of order n when n>3 and n is odd?

1 Answers   HCL,


Who could write how to find a prime number in dynamic array?

1 Answers  


Categories