C program | What will be the output of the following code snippet? | Interview bit

Recent Posts

3/recent/post-list

 What will be the output of the following code snippet?














Answer Here :-  

Syntax Error



Description:-

This is an example of accessing an array element through pointer notation. So *(a + i) is equivalent to a[i], and we are adding all the even indices elements, and subtracting all the elements at odd indices, which gives a result of 3.

C program | What will be the output of the following code snippet? | Interview bit C program | What will be the output of the following code snippet? | Interview bit Reviewed by •∆•HACKER'S ON•∆• on February 17, 2022 Rating: 5

Post Comments

No comments:

Powered by Blogger.