16
C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/ 1 of 16 4/21/2018 9:41 AM

C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

1 of 16 4/21/2018 9:41 AM

Page 2: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

2 of 16 4/21/2018 9:41 AM

Page 3: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

3 of 16 4/21/2018 9:41 AM

Page 4: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

while( expression ){

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

4 of 16 4/21/2018 9:41 AM

Page 5: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

statements

}

for( ; ; )

{

statements

}

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

5 of 16 4/21/2018 9:41 AM

Page 6: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

6 of 16 4/21/2018 9:41 AM

Page 7: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

7 of 16 4/21/2018 9:41 AM

Page 8: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

8 of 16 4/21/2018 9:41 AM

Page 9: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

9 of 16 4/21/2018 9:41 AM

Page 10: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

++ increment operator which add one to the value,

example : i++ (which adds one to i and results is scored back to)

— decrement operator which subtracts one from the value

example — i ( which subtracts one from i)

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

10 of 16 4/21/2018 9:41 AM

Page 11: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

4 bloggers like this.

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

11 of 16 4/21/2018 9:41 AM

Page 12: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

12 of 16 4/21/2018 9:41 AM

Page 13: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

13 of 16 4/21/2018 9:41 AM

Page 14: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

14 of 16 4/21/2018 9:41 AM

Page 15: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

15 of 16 4/21/2018 9:41 AM

Page 16: C-Programming VivA Questions - WordPress.com · ++ increment operator which add one to the value, example : i++ (which adds one to i and results is scored back to) — decrement operator

C-Programming VivA Questions https://connect2compute.wordpress.com/c-programming-viva-questions1/

16 of 16 4/21/2018 9:41 AM