what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / anu
I think it will not give any error and it will print some
garbage value.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Can we assign string to char pointer?
Which one would you prefer - a macro or a function?
Can we compile a program without main() function?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is array within structure?
What is 1f in c?
What does sizeof int return?
What is main () in c?
What is pointer & why it is used?
What are formal parameters?
How is a null pointer different from a dangling pointer?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is 1d array in c?
Between macros and functions,which is better to use and why?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.