Medium
Qualify the following code:
char *p;
p = (char *)malloc (5 * sizeof (char));
strncpy (p, «abcde», 5);
Author: Abha AgrawaStatus: PublishedQuestion passed 238 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
3
Find the sum of all even numbers in an array in C7
What is the size of a long long in C++?2
Write a C function to swap two integers.2
Write a C program to calculate the total number of sweets.3
Write a C program that calculates the average of two notes.2
Include a .h library in C1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ?