Scanf inside printf Function #include < stdio.h >int main(){int a,b;printf("%d",scanf("%d %d",&a,&b));}Output:2Logic:To know what'll return by scanf function and printf function , read these post:scanf returnsprintf function returns Share this Share on FacebookTweet on TwitterPlus on Google+ Related PostsScanf inside printf30Printf( ) function returning value.Scanf Returns a valuePrintf() as a argument of another printf()18