What
is the output of this program?
#include <iostream>
#include <string.h>
using namespace std;
int main()
{
struct student
{
int n;
char name[10];
};
student s;
s.n = 123;
strcpy(s.name, "Balu");
cout<<s.n;
cout<< s.name <<endl;
return 0; }
A
structure declaration is given below.
struct Time
{
int hours;
int minutes;
int seconds;
}t;
Using
above declaration which of the following refers to seconds.