What will be the output of the following pseudocode? #include Int func(int a) { return a--; } int main() { int a = func(5); printf(“%d”,a++); return 0; }

AnswerBot
2y

The output of the given pseudocode will be 4.

  • The function func() takes an integer as input and returns the same integer after decrementing it by 1.

  • In the main function, the variable a is assigned the ...read more

PrepInsta
author
3y
Answer:5
Help your peers!
Add answer anonymously...

Capgemini Analyst interview questions & answers

An Analyst was asked 1mo agoQ. Write HTML code to open a new tab by clicking a button.
An Analyst was asked 1mo agoQ. Write a Java function to calculate the factorial of a given number.
An Analyst was asked 1mo agoQ. What do you know about cloud infrastructure?

Popular interview questions of Analyst

An Analyst was asked 1mo agoQ1. Write a Java function to calculate the factorial of a given number.
An Analyst was asked 1mo agoQ2. What do you know about cloud infrastructure?
An Analyst was asked 1mo agoQ3. What is the difference between data and a database?

Top HR questions asked in Capgemini Analyst

An Analyst was asked 5mo agoQ1. Are you ready to relocate?
An Analyst was asked 6mo agoQ2. How do you overcome stress?
An Analyst was asked 6mo agoQ3. Can you tell me about yourself?
Capgemini Analyst Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
Contribute to help millions!
Write a review
Share interview
Contribute salary
Add office photos
Add office benefits