Why do we need functions in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

is it possible to create your own header files?

0 Answers  


What is the size of a union variable?

0 Answers  


write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.

0 Answers   BirlaSoft,


Write a simple code fragment that will check if a number is positive or negative.

0 Answers  


Why does the call char scanf work?

0 Answers  






Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?

3 Answers  


Define recursion in c.

0 Answers  


Is there a way to compare two structure variables?

0 Answers  


Why can’t constant values be used to define an array’s initial size?

0 Answers  


What library is sizeof in c?

0 Answers  


ratio,age,persentage

0 Answers  


Categories