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?

Showing Answers 1 - 8 of 8 Answers

Vijaya Bhaskar M

  • Jul 24th, 2005
 

Here the program contains the error. since we cant declare variable with digits...here in this program the digit 1 is declared as integer.

  Was this answer useful?  Yes

mayuri

  • Dec 1st, 2006
 

IT CONTAINS ERROR

  Was this answer useful?  Yes

Output for first question is:  It gives any interger Value(garbage Value)
For second question, It gives an error message because variable in c always start with alphabet.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions