Advertisement
Guest User

Digitando int e armazenando no membro de uma struct

a guest
Apr 3rd, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdio.h>
  3. struct mine{
  4.  int n;
  5.  char typed[];
  6. };
  7.  
  8.  
  9. void main(struct mine *p){
  10. int i,i2;
  11. printf("Digite um numero de casos de teste\n");
  12. scanf("%d",&p->n);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement