Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aakafh

    Array question

    #include<stdio.h> int main() { int arr[2]={10,9}; printf("%d\n",4[arr]); return 0; } this is giving output 1,shoudn`t it give segmentation fault cause the array is of size 2 and we are printing the value of array cell with index 4.Plz reply asap.

Part and Inventory Search

Back
Top