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