how to execute with out main in cprogram

Answers were Sorted based on User's Feedback



how to execute with out main in cprogram..

Answer / rina

any c program is not run without main function
main function is compalsary in c program

Is This Answer Correct ?    6 Yes 8 No

how to execute with out main in cprogram..

Answer / arpit gupta

in this code getch() need prototype

Is This Answer Correct ?    1 Yes 3 No

how to execute with out main in cprogram..

Answer / rakesh

nice 1 ravinder..!!!
great work..!!
m also having same ans.!!

Is This Answer Correct ?    0 Yes 3 No

how to execute with out main in cprogram..

Answer / shashank

isme bhi yahi ho raha hai
but with a trick

pls anyone can give me good links(url) to master c

Is This Answer Correct ?    0 Yes 5 No

how to execute with out main in cprogram..

Answer / developer

Coding seekh le Ravinder.

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More C Interview Questions

Determine the result of performing two successive block transfers into the same area of a frame buffer using the binary arith operations

0 Answers  


What is #include called?

0 Answers  


Write a program using bitwise operators to invert even bits of a given number.

2 Answers  


What functions are used for dynamic memory allocation in c language?

0 Answers  


The difference between printf and fprintf is ?

0 Answers   Baan Infotech,






You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 Answers  


What is a built-in function in C?

1 Answers  


How to add two numbers without using arithmetic operators?

18 Answers   College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,


11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


What is the difference between array and linked list in c?

0 Answers  


diff between exptected result and requirement?

0 Answers   HCL,


Is swift based on c?

0 Answers  


Categories