If I want to initialize the array like.
int a[5] = {0};
then it gives me all element 0.
but if i give int a[5] = {5};
then 5 0 0 0 0 is ans.
what will I do for all element 5 5 5 5 5 in a single
statement???
Answers were Sorted based on User's Feedback
why return type of main is not necessary in linux
Does c have circular shift operators?
What's the difference between calloc() and malloc()?
What is s in c?
What is structure in c explain with example?
in iso what are the common technological language?
What are local static variables? How can you use them?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is the difference between array and pointer in c?
What does char * * argv mean in c?
What are different types of pointers?
Explain what is wrong with this program statement?