Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
1104Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
1431Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
1085GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
1119I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
1153c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
1280the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
2699a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
3 5167which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
2087the maximum value that an integer constant can have is a) -32767 b) 32767 c) 1.701e+38 d) -1.7014e+38
1 2608the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters
2 11104
What is the purpose of using cms?
What is ctp file for in cake php?
How many kinds of sequences are supported by python? What are they?
How do I create a view in drupal 8?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is the total generic pointer type?
Who is the father of go (golang)?
How many tables a default wordpress will have?
Difference between nil and false in ruby?
Should I use single or double quotes in python?
What is an inline function in c++?
Why do we use encapsulation in oops?
Where can I learn php?
What is placement new?
What is laravel horizon?