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 the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
How can you return multiple values from a function?
while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.
c pgm count no of lines , blanks, tabs in a para(File concept)
write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????
Difference between exit() and _exit() function?
what is the difference between structural,object based,object orientd programming languages?
Is there any book to know about Basics of C Language?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Write a code of a general series where the next element is the sum of last k terms.
Explain how do you use a pointer to a function?
What is C++