main()
{
int i = 3;
for (;i++=0;) printf(“%d”,i);
}
Answer / susie
Answer :
Compiler Error: Lvalue required.
Explanation:
As we know that increment operators return rvalues and
hence it cannot appear on the left hand side of an
assignment operation.
| Is This Answer Correct ? | 14 Yes | 1 No |
write a program for area of circumference of shapes
how to check whether a linked list is circular.
How to palindrom string in c language?
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
main() { char *p="GOOD"; char a[ ]="GOOD"; printf("\n sizeof(p) = %d, sizeof(*p) = %d, strlen(p) = %d", sizeof(p), sizeof(*p), strlen(p)); printf("\n sizeof(a) = %d, strlen(a) = %d", sizeof(a), strlen(a)); }
main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
What are segment and offset addresses?
Which version do you prefer of the following two, 1) printf(“%s”,str); // or the more curt one 2) printf(str);
Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)
3 Answers Disney, Google, ZS Associates,
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
Write a complete program that consists of a function that can receive two numbers from a user (M and N) as a parameter. Then print all the numbers between the two numbers including the number itself. If the value of M is smaller than N, print the numbers in ascending flow. If the value of M is bigger than N, print the numbers in descending flow. may i know how the coding look like?
given integer number,write a program that displays the number as follows: First line :all digits second line : all except the first digit . . . . Last line : the last digit