Associate Abap Consultant
Associate Abap Consultant Interview Questions and Answers
Q1. Program to swap 2 variables
A program to swap the values of two variables.
Declare three variables, two for the values to be swapped and one as a temporary variable.
Assign the first variable's value to the temporary variable.
Assign the second variable's value to the first variable.
Assign the temporary variable's value to the second variable.
Q2. While vs do while
While loop executes the code block as long as the condition is true. Do while loop executes the code block at least once before checking the condition.
While loop checks the condition before executing the code block
Do while loop executes the code block first and then checks the condition
While loop may not execute the code block at all if the condition is false initially
Do while loop always executes the code block at least once
While loop is entry-controlled loop, Do while loop ...read more
Interview Questions of Similar Designations
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month