Why void is used in c?


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

Post New Answer

More C Interview Questions

#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is the purpose of the statement: strcat (S2, S1)?

0 Answers  


Explain how can you determine the size of an allocated portion of memory?

0 Answers  


Why ca not I do something like this?

0 Answers  


Explain what does a function declared as pascal do differently?

0 Answers  






Is c compiled or interpreted?

0 Answers  


Write a program to identify if a given binary tree is balanced or not.

0 Answers   JPMorgan Chase,


What is operator precedence?

0 Answers  


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

0 Answers  


What is difference between far and near pointers?

0 Answers  


Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }

3 Answers   NDS,


What is the difference between single charater constant and string constant?

0 Answers  


Categories