What is output of the following program ?
main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}
Answer Posted / chandrakala
error: i doesn't declared in a correct way
int i=1
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What type is sizeof?
What is meant by keywords in c?
What are the characteristics of arrays in c?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How are portions of a program disabled in demo versions?
What does c value mean?
How can I avoid the abort, retry, fail messages?
Explain why can’t constant values be used to define an array’s initial size?
How to declare pointer variables?
When c language was developed?
What is a constant and types of constants in c?
When should you use a type cast?
int i=10; printf("%d %d %d", i, i=20, i);
What is property type c?
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.