This section contains various questions on C language strings (character arrays), find questions on characters/string manipulations and string based functions. Structure and Union This section contains various C aptitude questions on structure and unions including nested structures and nested unions, their...
In this article, we will discuss some interesting problems on C language that can help students to brush up their C programming skills and help them prepare their C fundamentals for interviews. 1. gets() function Question:There is a hidden problem with the following code. Can you detect it?
To check if two strings are anagrams, the following steps are followed: Initialize two strings in two variables. Check if the length of the two strings is similar; if not, then the strings are not an anagram. If the result is true, take the two strings and store them in a character a...
Frequency of characters in a string Non-repeating characters in a string Check if two strings are Anagram or not Patterns of 0(1+)0 in the given string Replace substring in a string Count common subsequence in two strings Reverse a string Check if two strings match where one string contains...
How do I install English Language on my Visual Studio 2017 RC? How do I link a dll to a C++ project in Visual Studio 2019 How do I make a desktop icon for my visual basic program? How do I make the Solution Explorer, Properties, etc. docked to the right side and in it's normal...
The typical C library offers a number of functions intended for converting strings to numbers of just about all formats (longs, floats, integers etc.) and also vice versa, converting numbers to strings. The next functions may be used to convert strings to numbers or vice-verse: ...
C-style string representation – since C++ is largely an evolution of the C language (though now quite different), C++ still retains the basic functionality of C-style string handling. A string is a one-dimensional array that is terminated by a null value (‘\0’). This being the case,...
how can i get inputs and put output in solution for example in C++ language? I could not found any help to the above questions → Reply » » Fefer_Ivan 12 years ago, # ^ | +1 All your code must be in one .cpp file. It must read data from standart input (stdin).It...
KVC (Key-Value Coding) is a method for accessing an object’s properties using strings at runtime rather than needing to know the property names statically at development time. KVO (Key-Value Observing) allows a controller or class to monitor changes in a property value. In KVO, an object...
7. What is LINQ in C#? LINQ stands for Language Integrated Query. LINQ is a data querying methodology that provides querying capabilities to .NET languages with a syntax similar to a SQL query. LINQ has a great power of querying on any source of data. The data source could be collections...