how can you print&scan anything using just one character? :)

HINT: printf,scanf similer

Answers were Sorted based on User's Feedback



how can you print&scan anything using just one character? :) HINT: printf,scanf similer..

Answer / sivarama ganesan

putc, getc

putc will print only one character. getc will scan on
character from the given input/parameter

Is This Answer Correct ?    15 Yes 3 No

how can you print&scan anything using just one character? :) HINT: printf,scanf similer..

Answer / avinash

getch(),putc()

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

WHO WROTE C LANGUAGE?

4 Answers  


#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

7 Answers   Infosys,


int i=0,j; j=++i + ++i ++i; printf(" %d",j);

2 Answers   ME,


what is c?

4 Answers   IBM, TCS,


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,






main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

0 Answers  


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

4 Answers   CTS,


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

0 Answers  


atoi, which takes a string and converts it to an integer. write a program that reads lines(using getline), converts each line to an integer using atoi and computes the average of all the numbers read. also compute the standard deviation

0 Answers  


What is the difference between near, far and huge pointers?

0 Answers  


the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789

5 Answers  


Categories