int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / khaja
output is 3
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is break in c?
Write a program to swap two numbers without using third variable?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Compare interpreters and compilers.
What are comments and how do you insert it in a C program?
Explain how can I convert a string to a number?
How can you increase the size of a dynamically allocated array?
Write a program to print all permutations of a given string.
Was 2000 a leap year?
What is the 'named constructor idiom'?
What are the different types of errors?
What are c identifiers?
What are external variables in c?
Write a c program to build a heap method using Pointer to function and pointer to structure ?