Take FREE!! Online Cocubes Mock Test to Crack various Companies Written Exams.
Practice List of Paytm Coding Questions !!!
Take 30+ FREE!! Online Arithmetic Aptitude Mock test to crack any Exams.

# Programming Questions in JAVA Asked at Experienced

61 / 230

He wrote one program and asked output of it.
void main(){
int i=1,j=2,k=3;
if ( i || j || --k)
printf("%d %d %d",i,j,k);
}

Input : NA

Output : NA

|  Basics | | | |  Experience

62 / 230

Write a program to reverse string efficient way.

Input : NA

Output : NA

|  Basics | | | |  Experience

63 / 230

Write a program to reverse the words in a string and print it.

Input : NA

Output : NA

|  Basics | | | |  Experience

64 / 230

Write a program to display the double of a number without using arithmetic operators?

Input : NA

Output : NA

|  Linked List | | | |  Experience

65 / 230

Will your program work if it is a negative number? Modify your code to calculate the double of a negative number also.

Input : NA

Output : NA

|  Linked List | | | |  Experience

66 / 230

Add a given number using program a b ? (indirectly mean of this question handle overflow) ?

Input : NA

Output : NA

|  Basics | | | |  Experience

67 / 230

Write a program to delete a n'th node from last ?

10

6 15

3 8 12 18

output:|------------------------------|
|-

Input : NA

Output : NA

|  Basics | | | |  Experience

68 / 230

Write a program to get the nth node from last in linked list

Input : NA

Output : NA

|  Basics | | | |  Experience

69 / 230

Write program to traverse level order in tree.

Input : NA

Output : NA

|  Basics | | | |  Experience

70 / 230

Can you write program to implement stack using stl.

Input : NA

Output : NA

|  Basics | | | |  Experience

+ Contribute Programming Qs.

Baig
1