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 |
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
What is the difference between int main and void main in c?
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
how to add two numbers without using arithmetic operators?
Do you know what is the purpose of 'extern' keyword in a function declaration?
Explain how can you be sure that a program follows the ansi c standard?
What is the difference between printf and scanf in c?
What is the memory allocated by the following definition ? int (*x)[10];
Is there a way to compare two structure variables?
Find if a number is power of two or not?
Program to write some contents into a file using file operations with proper error messages.
What is p in text message?