:: 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 (2262)
 C++ interview questions  C++ Interview Questions (1118)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (648)
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 13 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 ?    20 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
Write a program to give following output..... ********* **** **** *** *** ** ** * * ** ** *** *** **** **** *********   4
second highest number in a given set of numbers TCS 3
void main() { int a=1; while(a++<=1) while(a++<=2); } HCL 4
what are the stages of compilation Bosch 1
what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); } HCL 3
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws. Yahoo 5
whats the use of header file in c?   2
what will be the output: main(){char ch;int a=10;printf("%d",ch);} Wipro 36
How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets Hexaware 1
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..   3
who did come first hen or agg Infosys 15
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining . State-Bank-Of-India-SBI 4
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.   ::