Find first non-repeating character in a string
Given an input string, Write a code to find first Non-repeating character in a string. Suppose an input string is webrewrite, the first non-repeated character in this string is b.
Pre-increment Vs Post-increment operators. What’s the difference between pre-increment (++i) and post-increment (i++) operators. In this post, we’ll learn how pre-increment and post-increment operators work in programming.
In this post, You’ll find MCQ which will help you to understand this concept fully.
How to swap two numbers using call by reference in C , C++. In the interviews interviewer generally asked the difference between call by reference and call by value. In this post let’s understand what is call by reference and how to swap two numbers using call by reference method.
Find Pair of Elements in Array whose Sum is Equal to given number. This is another very tricky/good question generally asked in technical interview. Given array might be sorted or unsorted it depends on the interviewer.
Write a program to count number of words in a string without using any function. This type of question generally asked by the interviewer to check the logic of a candidate.
Write a C, C++ program to print output without using a semicolon. How to solve this problem think for a moment before checking an answer.
In C, C++ every line is terminated with a semicolon. So, how do you print output without using a semicolon. This question requires a little trick to solve it. But don’t worry, In this post you’ll learn how to solve this problem.