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
What are pointers? Why are they used?
What is int main () in c?
I need a sort of an approximate strcmp routine?
How can you print HELLO WORLD without using "semicolon"?
can we write a c program with out using main
what is ram?
Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
two variables are added answer is stored on not for third variable how it is possible?
What is main void in c?
How can a number be converted to a string?
Why is c not oop?
What is the purpose of void in c?