ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
We can draw a box in cprogram by using only one printf();& 
without using graphic.h header file?
 Question Submitted By :: Pradeep
I also faced this Question!!     Rank Answer Posted By  
 
  Re: We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
Answer
# 1
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}

output:

 ______________
|______________|
 
Is This Answer Correct ?    8 Yes 3 No
Parmjeet Kumar
 
  Re: We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
Answer
# 2
yes the code is currect

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}

output:

 ______________
|______________|
 
Is This Answer Correct ?    2 Yes 2 No
Mohan Reddy
 
 
 
  Re: We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
Answer
# 3
yes the code is currect

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}

output:

 ______________
|______________|
 
Is This Answer Correct ?    1 Yes 1 No
Chandan Kumar R
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is the most efficient way to count the number of bits which are set in a value?  3
How would you find a cycle in a linked list?  2
write a program to display the array elements in reverse order in c language  6
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } CitiGroup17
what is the difference between strcpy() and memcpy() function?  1
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);} TCS8
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….  1
how to find out the inorder successor of a node in a tree?? TCS2
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.  1
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass. Microsoft6
what is diff between localstatic and globalstatis variable possible 2 use in another file...? HCL2
how can i get this by using for loop? * ** * **** * ****** Excel3
What's wrong with "char *p = malloc(10);" ?  4
how the size of an integer is decided? - is it based on processor or compiler or OS? nvidia16
wite a programme in c to linear search a data using flag and without using flags? TCS3
What is meant by global static? why we have to use static variable instead of Global variable L&T2
write a program to sort the elements in a given array in c language  2
How to calculate Total working time using Login and logout? Wipro2
what is mallloc()?how it works? Excel3
write a program to generate 1st n fibonacci prime number  5
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com