C Programming Tricky Interview Questions | Input Output Mistakes and Useful Concepts 7

preview_player
Показать описание
What is the written type of printf and scanf? What does printf and scanf return? What is sprintf and sscanf functions in c. What does sprintf and sscanf functions in c do ? Applications of sprintf and scanf in c .
c interview questions and answers for freshers, c technical interview questions and answers, c language technical interview question and answers for freshers, c programming tricks, c programming tricky questions, technical interview questions in c, technical interview, fresher, placements, c language, what is the output, c language interview questions and answers, tricky c questions, mcq, c programming interview questions and answers for freshers, c programming, multiple choice question, input output question, conceptual c questions with answer
Рекомендации по теме
Комментарии
Автор

The video is uploaded at 0.75X by mistake. Good video btw

viditsinghbrahmania
Автор

#include <stdio.h>

int main() {
int a, b;
printf("a=%d, b=%d, printed=%d\n", a, b, printf("scanned=%d", 5*scanf("%d, %d", &a, &b)));
return 0;
}

i hasn''t get the correct meaning bcz printf will start executing from left to right then then output will be
plzzzz help me

saiudaydasari
Автор

printf never returns no of bytes but it returns no of chars printed by it ...try printing int value bro

ajaykapase
Автор

It's actually sad to see that some bullshit questions like these would be asked in an interview. It's pretty clear you would never ever have to write something like this.

gabrielsuteu
visit shbcf.ru