int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / jignesh patel
output of this program is 3
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
What are header files? What are their uses?
What is volatile c?
Explain what is the benefit of using const for declaring constants?
What are header files and explain what are its uses in c programming?
Why & is used in c?
How can I access an I o board directly?
What is a macro in c preprocessor?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
When should volatile modifier be used?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Is c weakly typed?
What is "Duff's Device"?
What is an auto keyword in c?
What is c++ used for today?