• edited by
1,563 views
2 2 votes
#include <stdio.h>
int main(void) {
	double a=30;
	int r:
	r=a%5;
	printf("\n r=%d",r)
	return 0;
}

Why this code is throwing compilation error ?

2 Answers

Position:
Show:

Related questions

1 1 vote
1 1 answer
336
336 views
khanshahima4 asked Sep 24
336 views
1. If precedence tells me which operator has priority, and associativity tells me how to handle operators at the same level, then why do I need a separate concept called ...