1.

What is the output of this program?#include#includeusing namespace std;int main(){struct student{int n;char name[10];};student s;s.n = 123;strcpy(s.name, “Balu”);cout <<d.n;cout<< s.name << endl;return 0;}(a) 123Balu(b) BaluBalu(c) Balul23(d) 123 Balu

Answer»

(d) 123 Balu



Discussion

No Comment Found