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 |
Disadvantages of C language.
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }
What is boolean in c?
diff between exptected result and requirement?
who invented c
Write a program with dynamically allocation of variable.
How will you declare an array of three function pointers where each function receives two ints and returns a float?
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
which operator having lowest precedence?? a.)+ b.)++ c.)= d.)%
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
what is data structure?
c programming of binary addition of two binary numbers