1.

#include<stdio.h> int main() {     int x = 10;        char y = 'a';     x = x + y;          float z = x + 1.0;       printf(""x = %d, z = %f"", x, z);     return 0; } 
5.What will be output for the following code?

A. sum = 2
B. sum = 1
C. sum = 0
D. sum = 3
Answer» B. sum = 1


Discussion

No Comment Found