1. The following code is not well-written. Enter and compile it to see whether it works.
#include <stdio.h>
int x,y; int main() { printf(
"\nEnter two numbers");scanf(
"%d %d",&x,&y);printf(
"\n\n%d is bigger",(x>y)?x:y);return 0;}
Yes, it works.
No comments:
Post a Comment