C Ejercicio Ejemplo 87
Título: Respuestas (struct transmisión variable).
Análisis del programa: Ninguno.
Código fuente:
// Created by www.w3big.com on 15/11/9. // Copyright © 2015年 本教程. All rights reserved. // #include<stdio.h> struct student { int x; char c; } a; int main() { a.x=3; a.c='a'; f(a); printf("%d,%c",a.x,a.c); } f(struct student b) { b.x=20; b.c='y'; }