Without using main fn and semicolon,print remainder for a
given number in C language

Answers were Sorted based on User's Feedback



Without using main fn and semicolon,print remainder for a given number in C language..

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

Without using main fn and semicolon,print remainder for a given number in C language..

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

Post New Answer

More C Interview Questions

Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


What is "Hungarian Notation"?

0 Answers   Celstream,


What is sizeof array?

0 Answers  


Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


What is table lookup in c?

0 Answers  






What is a far pointer in c?

0 Answers  


what is calloc and malloc?

2 Answers  


using for loop sum 2 number of any 4 digit number in c language

0 Answers  


what does keyword ‘extern’ mean in a function declaration?

1 Answers   Emerson,


What are the 5 elements of structure?

0 Answers  


What is use of null pointer in c?

0 Answers  


Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


Categories