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
Is c still used in 2019?
How can I remove the leading spaces from a string?
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
What does == mean in texting?
What functions are used for dynamic memory allocation in c language?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Linked lists -- can you tell me how to check whether a linked list is circular?
What is the meaning of && in c?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
Explain what is the advantage of a random access file?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
what is pointer