C Codes & Aptitude Problems

C Codes & Aptitude Problems In this page important C Programs & more Tricky Code has been discussed. Here Aptitude C Question.Write ur ans in comment.(PLAY WITH C. ^..^)

02/04/2018

30/01/2018


File your Income Tax-Return online with "SaveTaxhere" . It is fast, secure and easy to use .
"SaveTaxhere" team changed the way people do tax filing in India. It doesn't just get your tax return filed within minutes but also get tax saving tips from our Team of tax experts, CA, CS, Lawyers.



If you have any queries , Contact 24/7 .
Email: [email protected]
Message on FB messenger.
What's app number : +91-9051083232
https://www.facebook.com/savetaxhere/

"SaveTaxHere" is the best and india largest Tax consulting company.
It's providing excellent services towards affordable Tax Return filing online for individual and business.
Our Service line is designed and dedicated to
meet the customer goal.

06/09/2017

& $hare this page to know more about e-Filing services.
🙂
File your Income Tax returns through our Team of experts and get maximum possible refund .
.

If you have any queries , Contact us 24/7 .
To Reach us by Fb messenger,
email: [email protected] .!!!
https://www.facebook.com/ITRefilingindia/

Helping individuals/Business across India🇮🇳 to file Income Tax Returns online with ease.
Expert support from Chartered Accountants & Lawyers.
Also assisting with Health, Term & Vehicle Insurance, NPS, and all types of Loans.

29/12/2016

^..^
What will be the output of the program?



void fun(char *msg, ...);

int main()
{
fun("Good Morning", 1, 4, 7, 11, 0);
return 0;
}
void fun(char *msg, ...)
{
va_list ptr;
int num;
va_start(ptr, msg);
num = va_arg(ptr, int);
num = va_arg(ptr, int);
printf("%d", num);
}

A. Good Morning 1 7 11 0
B. 1
C. 4
D. 7

29/08/2016

^..^
How many times "Good Morning" is get printed?


int main()
{
int x;
for(x= -1; x

14/06/2016

^..^
What will be the output of the program ?



int main()
{
char *p;
p="%d\n";
p++;
p++;
printf(p-2, 23);
return 0;
}
A. 21
B. 23
C. Error
D. No output

25/04/2016

^..^

What will be the output of the program?


int main()
{
char ch;
ch = 'A';
printf("The letter is");
printf("%c", ch >= 'A' && ch = 'A' && ch

10/04/2016

^..^ & this page to know more Job interview tricks and best way to prepare for Engineering jobs. Anytime FAQ with us !!! :) :)
https://www.facebook.com/engineeringjobinterview/


Generally,Students prepare for Job & placements in long way.Here we are going to tell you simple & short way to crack all interview rounds for any MNC.FAQ

08/04/2016

^..^

What will be the output of the program ?



int main()
{
int a[5] = {5, 1, 15, 20, 25};
int i, j, m;
i = ++a[1];
j = a[1]++;
m = a[i++];
printf("%d, %d, %d", i, j, m);
return 0;
}

A. 2, 1, 15

B. 1, 2, 5

C. 3, 2, 15

D. 2, 3, 20

15/02/2016

^..^

What will be the output of the program If characters 'a', 'b' and 'c' enter are supplied as input?



int main()
{
void fun();
fun();
printf("\n");
return 0;
}
void fun()
{
char c;
if((c = getchar())!= '\n')
fun();
printf("%c", c);
}

A. abc abc
B. bca
C. Infinite loop
D. cba

29/01/2016

^..^

Which of the following statements are correct about the program?



int main()
{
unsigned int num;
int i;
scanf("%u", &num);
for(i=0; i

25/01/2016

^..^

1 )
What will be the output of the program?


SQUARE(x) x*x

int main()
{
float s=10, u=30, t=2, a;
a = 2*(s-u*t)/SQUARE(t);
printf("Result = %f", a);
return 0;
}
A. Result = -100.000000
B. Result = -25.000000
C. Result = 0.000000
D. Result = 100.000000

2 )
What will be the output of the program?


SQR(x)(x*x)

int main()
{
int a, b=3;
a = SQR(b+2);
printf("%d\n", a);
return 0;
}
A. 25
B. 11
C. Error
D. Garbage value

3 )

What will be the output of the program?


CUBE(x) (x*x*x)

int main()
{
int a, b=3;
a = CUBE(b++);
printf("%d, %d\n", a, b);
return 0;
}
A. 9, 4
B. 27, 4
C. 27, 6
D. Error

write answers of above 3 given questions in comment box with question number ^.

Address

Kolkata
700102

Alerts

Be the first to know and let us send you an email when C Codes & Aptitude Problems posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to C Codes & Aptitude Problems:

Share