will the program compile? int i; scanf(ā%dā,i); printf(ā%dā,i);
Answer Posted / vignesh1988i
surely it will compile and run , no problem will be in
it.... but the problem lies in ur scanf statement , there
what ever u have typed as an input number , that number
wont be stored in 'i' since you have left ur '&'(reference
operator) , so ur compiler dosen't know where to store ur
input value....... so it will print some garbage value in
the printf().........
thank u
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Why static is used in c?
Tell me when is a void pointer used?
What is string in c language?
Explain what header files do I need in order to define the standard library functions I use?
Which function in C can be used to append a string to another string?
Is null a keyword in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
Why is c faster?
Can static variables be declared in a header file?
why programs in c are running with out #include
Explain what is the stack?
What are the features of the c language?
What does #pragma once mean?
Explain how do you search data in a data file using random access method?