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 |
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What is "Hungarian Notation"?
What is sizeof array?
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
What is table lookup in c?
What is a far pointer in c?
what is calloc and malloc?
using for loop sum 2 number of any 4 digit number in c language
what does keyword ‘extern’ mean in a function declaration?
What are the 5 elements of structure?
What is use of null pointer in c?
Explain what is the difference between the expression '++a' and 'a++'?