Write a program to change a string to number.
Software C Interview Questions
5,483 software c interview questions shared by candidates
Python oops Slicing basic code like prime number, odd number, palindrome
OOPs concept , SQL and 2 simple DSA questions that's all
intro,python related basic qns and coding
Identify memory leak: // this function has a memory leak. Can you find it? int i = 5; // <-- char *pszString = (char *)malloc(32); memset(pszString, 0, sizeof(32)); strcpy(pszString, "hi"); if (i > 5) { sprintf(pszString, "%i is greater than 5", i); printf("%s\n", pszString); free(pszString); } else if (i < 5) { sprintf(pszString, "%i is less than 5", i); printf("%s\n", pszString); free(pszString); } }
Count letters in a sentence omitting non alphabet characters: /// /// E.g given the // input string "Hello there!", print the output has to be 'h': 2 /// 'e': 3 'l': 2 'o': 1 't': 1 'r': 1 /// /// input The string containing the letters to count /// // Omit any character that is not in the English alphabet
Least recent cache. leet code (medium)
oops,dsa easy level questions,cloud basics ,programmming laguage concepts,project
First question was to introduce yourself.
Write a code to swap the numbers in an array.
Viewing 1851 - 1860 interview questions