what is the output of the following program?
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 / abhradeep chatterjee
0 0 1 3 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What does void main return?
write a program in c language to print your bio-data on the screen by using functions.
how could explain about job profile
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Are pointers integers in c?
Can we declare variable anywhere in c?
Difference between malloc() and calloc() function?
Where are some collections of useful code fragments and examples?
What do you mean by dynamic memory allocation in c?
Describe the difference between = and == symbols in c programming?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is the heap?
how should functions be apportioned among source files?
What is the purpose of the preprocessor directive error?
What is the difference between variable declaration and variable definition in c?