Answers for "declare type c"

C
11

typedef in c

typedef struct
{
  	//add different parts of the struct here
 	string username;
  	string password;
}
user; // name of struct - you can name this whatever

user example; //variable of type user

example.username = "Comfortable Caterpillar"; // username part of example variable
example.password = "password" // password part of example variable
  
if (user.username == "Comfortable Caterpillar")
{
	printf("upvote this if it helped!");
}
Posted by: Guest on July-02-2020
0

declare type c

typedef int table1N[N + 1];
Posted by: Guest on November-21-2020

Code answers related to "C"

Browse Popular Code Answers by Language