C Language Practice Flashcards

1
Q

man

A

man” command
● Provides manual page
● Syntax: “man [function_name]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

malloc

A

● (type*)malloc(size)

● only allocates memory but not initializes: if malloc allocates a used memory, then it will return the
previous value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

calloc

A

● calloc: (type *)calloc(n,size)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly