int main()
{
int i=-1,j=-1;k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d%d%d%d%d",i,j,k,l,m);
}

Answer Posted / nithya

undefined symbol 'k'
undefined symbol 'l'
undefined symbol 'm'

in the above program in the line will be change from ; to ,

int i=-1,j=-1,k=0,l=2,m;

the out put is
00131

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between strcpy() and memcpy() function in c programming?

626


Explain the process of converting a Tree into a Binary Tree.

2106


How many parameters should a function have?

668


What is the difference between local variable and global variable in c?

691


What is signed and unsigned?

646






What is a substring in c?

588


What does the characters “r” and “w” mean when writing programs that will make use of files?

858


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1381


What are different types of variables in c?

571


How can I recover the file name given an open stream or file descriptor?

598


How can you increase the allowable number of simultaneously open files?

597


What does a function declared as pascal do differently?

607


What does s c mean in text?

613


What are loops c?

616


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

764