main()
{
char a[4]="HELL";
printf("%s",a);
}
Answer Posted / susie
Answer :
HELL%@!~@!@???@~~!
Explanation:
The character array has the memory just enough to hold the
string “HELL” and doesnt have enough space to store the
terminating null character. So it prints the HELL correctly
and continues to print garbage values till it accidentally
comes across a NULL character.
| Is This Answer Correct ? | 25 Yes | 10 No |
Post New Answer View All Answers
How can you relate the function with the structure? Explain with an appropriate example.
could you please send the program code for multiplying sparse matrix in c????
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
What is data _null_? ,Explain with code when u need to use it in data step programming ?
write a simple calculator c program to perform addition, subtraction, mul and div.
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
How to palindrom string in c language?
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
#include
Develop a routine to reflect an object about an arbitrarily selected plane
Write a routine to implement the polymarker function
What is full form of PEPSI