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 |
Can you think of a logic behind the game minesweeper.
Why doesn't C have nested functions?
How can this be legal c?
What is the main difference between calloc () and malloc ()?
Write program to remove duplicate in an array?
How to convert decimal to binary in C using recursion??
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,
Can a file other than a .h file be included with #include?
why program counter is 16 bit?
What is nested structure with example?
If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.
Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com