Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output of this C code?
Home
C Plus Plus
What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
What is the output of this C code?
#include <stdio.h>
void main()
{
int x = 5.3 % 2;
printf("Value of x is %d", x);
}
a.Compile time error
b.Value of x is 0.3
c.Value of x is 1
d.Value of x is 2.3
#c-compiler
#c-language
#c-programming
Please
log in
or
register
to answer this question.
0
Answers
...