I was asked what this syntax means:
char data[32] = {1};
However I can’t remember what it does,. but I remember that it’s valid.
Can anyone explain its purpose ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This will create an array of 32 chars. The first element will be 1 and the rest will be set to zero.