Can a program have two main functions?


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

Post New Answer

More C Interview Questions

What is the size of a union variable?

0 Answers  


What is 2c dna?

0 Answers  


what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

0 Answers   TCS,


what is the difference between i++ and ++i?

5 Answers  






What are dangling pointers in c?

0 Answers  


int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }

2 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  


what is bitwise operator?

1 Answers   IBM,


How to swap 3 numbers without using 4th variable?

5 Answers  


#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2 Answers   Facebook,


What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?

1 Answers  


Categories