how to print a statement in c without use of console
statement ,with the help of if statement it should print

Answers were Sorted based on User's Feedback



how to print a statement in c without use of console statement ,with the help of if statement it s..

Answer / girish

#include <stdio.h>
void main()
{
if(printf("Hello World"))
}

Is This Answer Correct ?    14 Yes 3 No

how to print a statement in c without use of console statement ,with the help of if statement it s..

Answer / deepanshu kakkar

#include<stdio.h>
void main()
{
if(printf("deepanshu kakkar"));
}

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

what is the difference between static variable and register variable?

3 Answers  


What are header files and what are its uses in C programming?

0 Answers  


How can I change the size of the dynamically allocated array?

0 Answers  


when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .

4 Answers  


Explain void pointer?

0 Answers  






What do mean by network ?

0 Answers  


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(“%d”,x); --x; } }

7 Answers   CSC,


How to use c/c++ code in JAVA

10 Answers   CDAC, IBM, Satyam, Scope International,


Why clrscr is used in c?

0 Answers  


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

0 Answers  


Explain what is a 'locale'?

0 Answers  


What is pass by reference in c?

0 Answers  


Categories