what will be the output for the following program?
main()
{
char ch = 'k';
char c;
printf("%c",c);
}
Answer Posted / sudarsan
no out put
bcz
after declaration, inside the memory
1. a location of 1byte will be reserve for ch
and also for c but the value k be store in ch
and nothing in C.
|----|
|k |ch
|----|
|----|
| |c
|----|
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are the disadvantages of a shell structure?
What is build process in c?
What are categories used for in c?
What is a file descriptor in c?
What is a pragma?
What happens if header file is included twice?
What is the process of writing the null pointer?
Why are algorithms important in c program?
Define recursion in c.
What is scope and lifetime of a variable in c?
Explain bitwise shift operators?
How many data structures are there in c?
What is stack in c?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is the purpose of type declarations?