ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> ERRORS >> C C++ Errors
 
 


 

 
 C C++ Errors interview questions  C C++ Errors Interview Questions (62)
 DotNet Errors interview questions  DotNet Errors Interview Questions (14)
 Database Errors interview questions  Database Errors Interview Questions (16426)
 Scripts Errors interview questions  Scripts Errors Interview Questions (55)
Question
#include<>stdio.h>
#include<>conio.h>
{
printf("hello");
void main()
getch();
}  what the out put of this program and why ......plz clear 
my answer
 Question Submitted By :: C-C++-Errors
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
answer is =" Unable to open the header files and must be
open brash come after main program "
 
Is This Answer Correct ?    17 Yes 4 No
Sambath
 
Answer
# 2
#include<stdio.h>
#include<conio.h>

voidn main
{
clrscr();
printf("Try this one");
getch();
}
 
Is This Answer Correct ?    8 Yes 3 No
Meg&039;s
 
 
 
Answer
# 3
#include<stdio.h>
#include<conio.h>
void main()
{
printf("any message to display on console");
getch();
}
 
Is This Answer Correct ?    4 Yes 0 No
Naina
 
Answer
# 4
DECLARATION TERMINATED INCORRECTLY 
Is This Answer Correct ?    4 Yes 0 No
Biren
 
Answer
# 5
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello!");
getch();
}
 
Is This Answer Correct ?    1 Yes 0 No
Lalithpriya
 
Answer
# 6
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 6 No
Dhatchina Moorthy
 
Answer
# 7
answer is =" Unable to open the header files and must be
open brash come after main program "
 
Is This Answer Correct ?    0 Yes 4 No
Geetha.s.b
 
Answer
# 8
#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 9 No
Shreyas
 
Answer
# 9
#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
scanf("%d",&hello);
getch();
}
 
Is This Answer Correct ?    0 Yes 5 No
Parvathy Mohan
 

 
 
 
Other C C++ Errors Interview Questions
 
  Question Asked @ Answers
 
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?.. HCL 28
void main() { int i=5; printf("%d",i+++++i); } Hcl 12
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
Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.   1
How to reverse a linked list without using array & -1? Thank you. Access 2
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
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   2
Declaration of Cube Guys please help me.. Is this a right way to declare cube.? If i Compile it. It Says: Cube undeclared what should i do? Please help \thanks in advanced #include<stdio.h> #include<math.h> #include<conio.h> main( ) { float x,y; while(x++<10.0) { printf("Enter Number:"); scanf("%d", &x); y = cube(x); printf("%f %f %f \n", x,pow(x,2),y); cube(x); } { float x; float y; y = x*x*x; } getch(); return (y); }   2
what is exceptions? HCL 4
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); } HCL 25
how to convert decimal to binary in c using while loop without using array Apple 48
what is meant for variable not found?   3
 
For more C C++ Errors Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com