10/30/2023 0 Comments Making a structure in no limits 2![]() ![]() Here, a struct variable s1 of type struct student is created. read string input from the user until \n is enteredÄisplay(s1) // passing struct as an argument Here's how you can pass structures to a function #include ![]() We recommended you to learn these tutorials before you learn how to pass structs to functions. Similar to variables of built-in types, you can also pass structure variables to a function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |