| |
GeekInterview.com > Placement Papers > IBM > Technical
| Print | |
| Question: main() { printf("%u",main); } what will be the output? main() { int 1,b; int con; 1=b=2; con (b==1) ? 1 : 0; printf("%d",con); } what will be the value of con?
|
| July 07, 2005 10:59:49 |
#1 |
| Vijaya Bhaskar M |
Member Since: Visitor Total Comments: N/A |
RE: main() { printf("%u",main); } what will be the output? main() |
| Here the program contains the error. since we cant declare variable with digits...here in this program the digit 1 is declared as integer. |
| |
Back To Question | |