#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

A sample program using data structure? what is file handling?

0 Answers   TCS,


write a profram for selection sort whats the error in it?

2 Answers  


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

3 Answers  


char* f() return "hello:"; void main() {char *str=f(); }

1 Answers  


How to develop a program using C language to convert 8-bit binary values to decimals. TQ

1 Answers   Amazon,






errors are known as?

3 Answers   EX, State Bank Of India SBI,


wap for bubble sort

3 Answers  


2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% or more in order to pass (total = coursework marks + examination marks) b. A total mark of 39% is moderated to 40% c. Each component must be passed with a minimum mark of 20/50. If a student scores a total of 40% or more but does not achieve the minimum mark in either component he/she is given a technical fail of 39% (this mark is not moderated to 40%) d. Grades are awarded on marks that fall into the following categories. Mark 100-70 69-60 59-50 49-40 39-0 Grade A B C D E Write a program to input the marks for both components (coursework marks out of 50 and examination marks out of 50), out put the final mark and grade after any moderation. [30]

0 Answers  


I can not get my C++ program to work right. It is supposed to tell if a word is a palindrome or not, but it only tells thet the word is not a palindrome. And I can't fix it.

1 Answers  


Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.

2 Answers   HCL,


what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?

1 Answers  


what is syntax error?

3 Answers  


Categories