what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answers were Sorted based on User's Feedback
Answer / ranjani
it will give a warning " that a is assigned a value that is
never used"......
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / a.dinesh kumar
error will be occur because a is not in use in output
statement
| Is This Answer Correct ? | 2 Yes | 6 No |
What is macro?
different between overloading and overriding
How to avoid buffer overflow?
Why do we use static in c?
How can you be sure that a program follows the ANSI C standard?
What are preprocessor directives in c?
difference between loading and linking
What is a void pointer? When is a void pointer used?
What is an expression?
what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā%d\nā,j); }
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
Why c is called a mid level programming language?