Home
Explore
Places
win7
win8
Coding
Friday, 8 February 2013
5
What will be output of following program?
#include<stdio.h>
int main()
{
int a = 320;
char *ptr;
ptr =( char *)&a;
printf("%d ",*ptr);
return 0;
}
(A) 2
(B) 320
(C) 64
(D) Compilation error
(E) None of above.
5
2013-02-08T06:30:00-08:00
cvs
prgm|