Accenture Interview Question for Applications Developers


Country: United States
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
4
of 4 vote

it will print %%

- sanjaypandey425 June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

But % is not an int or char type..how cn v include it with % inorder to print it??

- Julian July 23, 2012 | Flag
Comment hidden because of low score. Click to expand.
2
of 2 vote

To print % with printf , format specifier %% should be used .

so the above asked question returns error for prrintf(), it should be printf

if you fix it , the answer would be %%.

- ur237 June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

prints random numbers.. and while compilation it gives warnings about format string..

- Anonymous June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

prints random numbers

- Sreeja Das June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It prints some garbage values, i guess.

- Boobal June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it will print %%

- Venkat June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

Out put will be %%%%

- Avi June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it will print %% coz % specifier is used to print % symbol

i think you mistyped prrintf instead of printf

- rishabh June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

its output is %%

- gurjinder June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The output is %%.

- amnesiac June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

%%.
if you want to print % in STDOUT then use %% in printf

- Anonymous June 13, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Stupid interview question.

- Anonymous June 14, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

o/p %%

- Satish Chauhan June 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

error in 5th line

- rajeev June 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it prints
%%

- Saachi July 27, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it will print %%

- Govind September 06, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

#include<stdio.h>
#include<conio.h>
main()
{
printf("%\%");
getch();
}

- Anonymous September 14, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

koi naukri lagwado yaaaar

- mayank chutiya June 14, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More