What is the output of the following code?

#include stdio.h
struct employee {
int age, rollNo;
};
void solve() {
struct employee e;
e.age = 20;
e.rollNo = 38;
printf("%d %d", e.age, e.rollNo);
}
int main() {
solve();
return 0;
}


Posted on by