can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answer Posted / vinnu bhardwaj
main()
{
if(printf("Hello world"))
{}
}
//Here the {} act as a blank compound statement. But it is
//not mandatory to put some simple statements in it which
//require a semicolon. There are many more such answers to
//this question but the basic funda will be same
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Why do we use int main?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
hi any body pls give me company name interview conduct "c" language only
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What is the collection of communication lines and routers called?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What are the benefits of c language?
What are formal parameters?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is #line in c?
How do you define a string?
What is register variable in c language?