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 |
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??
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
writte a c-programm to display smill paces
main() { int a[10]; printf("%d",*a+1-*a+3); }
main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }
how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..!
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); }
Is this code legal? int *ptr; ptr = (int *) 0x400;
plz send me all data structure related programs
write a c program to print magic square of order n when n>3 and n is odd?
Who could write how to find a prime number in dynamic array?