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 |
Why is sizeof () an operator and not a function?
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.
What is a static variable in c?
how to find binary of number?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
What is C language ?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..
What does printf does?
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.
Write a program that receives as input a number omaadel-n-print, four digits.
What is the difference between #include <header file> and #include “header file”?