#include<>stdio.h>
#include<>conio.h>
{
printf("hello");
void main()
getch();
} what the out put of this program and why ......plz clear
my answer

Answers were Sorted based on User's Feedback



#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / sambath

answer is =" Unable to open the header files and must be
open brash come after main program "

Is This Answer Correct ?    18 Yes 5 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / meg&

#include<stdio.h>
#include<conio.h>

voidn main
{
clrscr();
printf("Try this one");
getch();
}

Is This Answer Correct ?    9 Yes 4 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / biren

DECLARATION TERMINATED INCORRECTLY

Is This Answer Correct ?    5 Yes 1 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / naina

#include<stdio.h>
#include<conio.h>
void main()
{
printf("any message to display on console");
getch();
}

Is This Answer Correct ?    5 Yes 2 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / lalithpriya

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello!");
getch();
}

Is This Answer Correct ?    2 Yes 1 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / sansiri

the output is not display for this program because unable to
open header files due to the syntax is error and after the
main function only the braces are opened

Is This Answer Correct ?    0 Yes 1 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / dhatchina moorthy

actually this program will be showing error
the correct one may be following:
#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
getch();
}

Is This Answer Correct ?    5 Yes 7 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / geetha.s.b

answer is =" Unable to open the header files and must be
open brash come after main program "

Is This Answer Correct ?    0 Yes 5 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / shreyas

#include<stdio.h>
#include<conio.h>
{
printf("hello");
void main()
getch();
}

if this is the case....then it will return an error that
braces '{' are not at the right place

Is This Answer Correct ?    4 Yes 10 No

#include<>stdio.h> #include<>conio.h> { printf("hello"); void main()..

Answer / parvathy mohan

#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
scanf("%d",&hello);
getch();
}

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More C C++ Errors Interview Questions

what is syntax error?

3 Answers  


Write a c-programe that input one number of four digits and find digits sum?

2 Answers  


#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }

19 Answers  


Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;

3 Answers  


How to create a program that lists the capital country when told what the original country is? (Terribly sorry, I'm a novice programmer and would appreciate any help ;). Cheers, Alexxis

0 Answers  






errors are known as?

3 Answers   EX, State Bank Of India SBI,


Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .

2 Answers  


What is the code for following o/p * * * * * * * * * * * * * * * *

1 Answers  


Answering Yes or No in C++...using only stdio.h and conio.h..........help me please...? here's must be the output of the program: Screen A Exam No. items Score 1 20 20 2 35 35 Another Entry? [Y] or [N] : Screen B: Record No. Student's Name: 1 Fernando Torres 2 Chuck Norris Note: if you press Y, the program must repeat the procedure in screen A, then if N, the program must proceed to the screen B....Please Help me out............

1 Answers  


What is the out put of this programme? int a,b,c,d; printf("Enter Number!\n"); scanf("%d",&a); while(a=!0) { printf("Enter numbers/n"); scanf("%d%d%d",&b,&c,&d); a=a*b*c*d; } printf("thanks!"); getche(); Entering numbers are a=1,b=2,c=3,d=4 b=3,c=4,d=-5 b=3,c=4,d=0

5 Answers   TCS,


Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL

0 Answers  


Display this kind of output on screen. 1 0 1 1 0 1 3. Display this kind of output on screen. 1 1 0 1 0 1 4. Display this kind of output on screen. 1 1 0 1 0 1 5.Display this kind of output on screen. 1 2 3 4 5 6 7 8 9 10

1 Answers  


Categories