Technical Interview Questions And Answers

052. Technical interview question: Give the output of following code

By April 21, 2018 May 2nd, 2018 No Comments
  1. int main(void)
  2. {
  3. int a = 10, b = 20, c = 30;
  4. printf("\n %d.. %d.. %d \n", a + b + c, (b = b*2), (c = c*2));
  5. return 0;
  6. }
int main(void)
{
    int a = 10, b = 20, c = 30;
   printf("\n %d.. %d.. %d \n", a + b + c, (b = b*2), (c = c*2));
   return 0;
}
Watch video explanation for this technical question

Leave a Reply

DEMO01