what is op?
for(c=0;c=1000;c++)
printf("%c",c);

Answer Posted / sreekanth

Warnings:

Test expression for for is assignment expression: c = 1000
The condition test is an assignment expression. Probably,
you mean to use == instead of =. If an assignment is
intended, add an extra parentheses nesting(e.g., if ((a =
b)) ...) to suppress this message. (Use -predassign to
inhibit warning)

Test expression for for not boolean, type int: c = 1000.
Test expression type is not boolean or int. (Use
-predboolint to inhibit warning)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between #include

and #include “header file”?

545


What are the types of variables in c?

578


Is c is a procedural language?

595


Why c is called top down?

626


What is function prototype in c with example?

573






Add Two Numbers Without Using the Addition Operator

351


Write a program to find the biggest number of three numbers in c?

588


What are the three constants used in c?

542


Is null a keyword in c?

730


What do you mean by invalid pointer arithmetic?

637


What are examples of structures?

591


Who invented b language?

911


Explain the binary height balanced tree?

720


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

713


What is static and volatile in c?

775