#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

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 upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?

1 Answers  


class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }

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  


loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.

5 Answers   CMC,






I am using Qt 5.6 during compilation it stops and gives error about Qmake The process "C:QtQt5.6.35.6.3msvc2015_64inqmake.exe" crashed. Error while building/deploying project untitled1 (kit: Desktop Qt 5.6.3 MSVC2015 64bit) When executing step "qmake"

0 Answers  


which typw of errors ? & how to solve it ?

0 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,


write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;

0 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  


Given that two int variables, total and amount , have been declared, write a sequence of statements that: initializes total to 0 reads three values into amount , one at a time. After each value is read in to amount , it is added to the value in total (that is, total is incremented by the value in amount ). Instructor's notes: If you use a loop, it must be a for loop. And if you use a loop control variable for counting, you must declare it.

1 Answers   Google,


full c programming error question based problem

3 Answers   HCL, TCS,


Categories