CAT 2024 Last Batch ๐งโ๐ Starts on Monday (22nd July). Enroll now
Edit MetaData
What is the output of the following program? #include <stdio.h> int tmp=20; main( ) { printf("%d ",tmp); func( ); printf("%d ",tmp); } func( ) { static int tmp=10; printf("%d ",tmp); }
20 10 10
20 10 20
20 20 20
10 10 10
Create a FREE account and get:
Login to your Cracku account.
Follow us on
Incase of any issue contact support@cracku.in
Boost your Prep!
Quick, Easy and Effective Revision
By proceeding you agree to create your account
Free CAT Formulae PDF will be sent to your email address soon !!!