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 (16425)
 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
 
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .   3
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?.. HCL 28
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
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
void main() { int i=7; printf("N= %*d",i,i); } HCL 5
what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue? TCS 2
what is run time error?   7
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. HCL 2
what is syntax error?   3
#include<>stdio.h> #include<>conio.h> { printf("hello"); void main() getch(); } what the out put of this program and why ......plz clear my answer Wipro 9
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
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
 
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