i am getting segmentation fault while taking input in an array , c++(sublime_text)
Segmentation fault
u will get the segmentation fault bcz u are defining the the size after allocating a array since the array is allocated in static memory so it need to no the size before compilation so u need to define the size before the array decleration