Code:
class A { }; sizeof(A); ans:- 1 byte
class A { }; sizeof(A); ans:- 1 byte
#include<stdio.h> int main() { int a,b,c; float f1,f2; printf("a=%d\nb=%d\nc=%d\nf1=%f\nf2=%f\n",a,b,c,f1,f2); return 0; }
int main() { signed char ch=255; printf("%d",ch); return 0; }
int main() { printf("Enter value:"); scanf("%d",1245024); /* how to print the value here */ return 0; }
void display(); int main() { printf("address:=%u",&display); return 0; } void display() { printf("Hello"); }
Leave a comment: