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
 
Write a c-programe that input one number of four digits and find digits sum?   2
what is the large sustained error signal that eventually cause the controller output to drive to its limit TCS 1
#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
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
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 the error in the following code: main() { int i=400,j; j=(i*i)/i; }   4
What are the different types of errors in C and when they occur?   4
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. Google 1
what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue? TCS 2
who was the present cheif governor of reserve bank of india State-Bank-Of-India-SBI 6
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.   3
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. CMC 5
 
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