:: 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                      
Categories >> Software >> Programming Languages >> C


 C interview questions  C Interview Questions (2254)
 C++ interview questions  C++ Interview Questions (1111)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (646)
in C-programming language without using printf statement 
can we get output r not ? if yes how and if no also how ? 
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
# 1
We can get output using puts() for printing a string or
putchar() for printing single character.
So printf() is not necessary here for printing.
Is This Answer Correct ?    63 Yes 18 No
Balakrushna (bk)
# 2
ya wit out using printf we can print.... using putchar,puts
functions etc.........
Is This Answer Correct ?    37 Yes 12 No
# 3
well, dats fine !!
But can ne1 tell me, is it possible to print sumthing widout
Is This Answer Correct ?    25 Yes 9 No
# 4
/*this program is without printf() and without (;) using far pointer and functions */

int display(char *ch)
char far *p;
int i;
static int c=0;
p=(char far *)0xb8000000l;
void main()
if(display("BHUPENDRA DHIRE ")){}
Is This Answer Correct ?    19 Yes 9 No
Bhupendra Dhire
# 5
it is possible . with using if condition and library
Is This Answer Correct ?    14 Yes 9 No
# 6
don't say puts&putchar.we have to think ina manner that how
to write code for printf function.ofcourse those two are
also correct.
Is This Answer Correct ?    4 Yes 0 No
# 7
void main()
int gd=DETECT,gm;
initgraph(&gd,&gm, "");
Is This Answer Correct ?    3 Yes 1 No
# 8
it's possible to print something using if and without semicolon(;)

int main()
if(printf("HELLO USER"))
return 0;
Is This Answer Correct ?    1 Yes 0 No
Shreya Jha
# 9
my qyestion is without using library function how can print? 
Is This Answer Correct ?    5 Yes 6 No
# 10
It's impossible without using any library function 
Is This Answer Correct ?    3 Yes 4 No

Other C Interview Questions
  Question Asked @ Answers
is it possible to change the default calling convention in c ? Aptech 1
what is the defrenece between structure and union Aloha-Technology 5
compare array with pointer?   1
how to determine the complexity of an algorithm as log(n) Google 1
wtite a program that will multiply two integers in recursion function TCS 4
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree. Ignou 3
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code? Oracle 3
program to find the magic square Infosys 1
how to find out the inorder successor of a node in a tree?? TCS 2
write a program to find the sum of the array elements in c language?   21
change to postfix a/(b+c*d-e) Value-Labs 8
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to? CTS 2
For more C Interview Questions Click Here 

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