main()
{
int i=5;
printf("%d",++i++);
}
Answer / susie
Answer :
Compiler error: Lvalue required in function main
Explanation:
++i yields an rvalue. For postfix ++ to operate an lvalue
is required.
| Is This Answer Correct ? | 2 Yes | 1 No |
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
Write a C program to add two numbers before the main function is called.
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcat(a,b)); } a. Hello b. Hello World c. HelloWorld d. None of the above
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
write a simple calculator c program to perform addition, subtraction, mul and div.
0 Answers United Healthcare, Virtusa,
#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
void main() { printf(“sizeof (void *) = %d \n“, sizeof( void *)); printf(“sizeof (int *) = %d \n”, sizeof(int *)); printf(“sizeof (double *) = %d \n”, sizeof(double *)); printf(“sizeof(struct unknown *) = %d \n”, sizeof(struct unknown *)); }
Program to Delete an element from a doubly linked list.
4 Answers College School Exams Tests, Infosys,
write a program to count the number the same (letter/character foreg: 's') in a given sentence.
can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail