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
How to write a program to receive an integer & find its octal equivalent by using for loop?
Explain is it better to bitshift a value than to multiply by 2?
who will call your main function in c under linux?
How is null defined in c?
What is the best way of making my program efficient?
Why static is used in c?
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
How can I avoid the abort, retry, fail messages?
how will you write a program on linked lists using JAVA programming???????????
What is merge sort in c?
write a program to add two numbers of any size.....(remember any size)
Where static variables are stored in memory in c?