Without using main fn and semicolon,print remainder for a
given number in C language
Answers were Sorted based on User's Feedback
Answer / ronak pareel
it is easy but you want to use main function
#include<stdio.h>
main()
{
if(printf("
%d",11%10))
}
// In this code at the place of 11 you can write your no
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / swamy
we can not print any number with out using main function
and semicolon.
I think
| Is This Answer Correct ? | 0 Yes | 5 No |
What is use of integral promotions in c?
What functions are used in dynamic memory allocation in c?
Explain the difference between structs and unions in c?
write a program to print calender using for loop.
how to find the given number is prime or not?
What is string function c?
What are reserved words?
which one is highest Priority in c? a)=,b)+,c)++,d)==
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
Explain how can I avoid the abort, retry, fail messages?
What is difference between stdio h and conio h?
Why is void main used?