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