Technical Interview Questions And Answers

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

By March 6, 2018 August 3rd, 2019 No Comments
  1. #include<string.h>
  2. void main()
  3. {
  4. clrscr();
  5. printf("%d%d",sizeof("kodegod"),strlen("kodegod"));
  6. getch();
  7. }
#include<string.h>
void main()
{
  clrscr();
  printf("%d%d",sizeof("kodegod"),strlen("kodegod"));
  getch();
}
Watch video explanation for this technical question

Leave a Reply

DEMO01