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 the hardest programming language?
how to introdu5ce my self in serco
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
Explain the difference between struct and union.
I came across some code that puts a (void) cast before each call to printf. Why?
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 Answers CTS, HCL, TCS,
Explain the red-black trees?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What are the features of the c language?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
Why main is not a keyword in c?