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 difference between typeof(foo) and myFoo.GetType()?
Explain goto?
Are bit fields portable?
How can I sort more data than will fit in memory?
in malloc and calloc which one is fast and why?
Is c dynamically typed?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Write a program in c to replace any vowel in a string with z?
What's the total generic pointer type?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
What is the proper way of these job Tell me about there full work