How to print "I Love My India" without using semi colon?
Answers were Sorted based on User's Feedback
Answer / shamik
#include<stdio.h>
void main()
{
if(printf("I love my India"))
getch();
}
| Is This Answer Correct ? | 38 Yes | 4 No |
Answer / sanjay
On VC++ and on Unix. Dont use getch();
as it was clearly mentioned for not to use ;
#include<stdio.h>
main()
{
if(printf("I love my India"))
}
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / manoj singh
#include<stdio.h>
void main()
{
clrscr();
if(printf("\"I love my India\""))
while(!kbhit());
}
| Is This Answer Correct ? | 4 Yes | 6 No |
What is an auto keyword in c?
how many argument we can pas in in a function
what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }
What is Dynamic Initialization.
x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????
Which programming language is best for getting job 2020?
Are negative numbers true in c?
How can you allocate arrays or structures bigger than 64K?
Is a house a shell structure?
Explain low-order bytes.
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
What are the various types of control structures in programming?