Is it possible to run a c program without using main?If yes
HOW??
Answers were Sorted based on User's Feedback
Answer / valli
in linux while compilation we u mention -nostartfiles it
will work
#include<stdio.h>
abc()
{
printf("hello");
}
| Is This Answer Correct ? | 9 Yes | 13 No |
Answer / swetha
void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}
| Is This Answer Correct ? | 2 Yes | 14 No |
Is there a way to compare two structure variables?
What is meant by 'bit masking'?
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Write programs for String Reversal & Palindrome check
Who developed c language?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
7 Answers Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,
What does static mean in c?
to get a line of text and count the number of vowels in it
Why is c faster?