sorcerer_see: (Default)
#include <stdio.h>

struct student
{
int age;
int grade;
char name[40];
}

int main ()
{
struct student s1 = {19, 9, "Jason"};
struct student s2;

printf ("Assigning, s2 = s1\n");

s2 = s1;

printf ("Results, Name: %s, Age: %d, Grade: %d\n", s2.name, s2.age, s2.grade);
return 0;
}

Profile

sorcerer_see: (Default)
sorcerer_see

October 2025

S M T W T F S
    12 34
56 7 8 9 10 11
12 1314 15 16 1718
19 2021 22 23 2425
2627 28293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 16th, 2026 02:29 am
Powered by Dreamwidth Studios