#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 run time error?

7 Answers  


WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }

25 Answers   HCL,


what are the techniques for reducing the fragility of a memory bug?

1 Answers  


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  


how to convert decimal to hexadecimal without using arrays just loops

2 Answers  






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

1 Answers  


How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)

0 Answers  


What are the different types of errors in C and when they occur?

4 Answers  


#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }

12 Answers   HCL,


who was the present cheif governor of reserve bank of india

6 Answers   State Bank Of India SBI,


when i use cout or cin call & then either << or >> .....it shows declaration syntax error...what should i do? cout<<"anything"; int a; cin>>a; return 0;

2 Answers  


what is exceptions?

5 Answers   HCL, Wipro,


Categories