what is *s in c code example
Example 1: %.*s in c
example:
printf("%.*s",3,"hello");
output:hel
here 3 represents the length of the string to be printed in the "hello string".
Example 2: what is -> in c
arrow operator ( -> ) in C is used to access a member of a
struct which is referenced by the pointer in question