Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
No Answer is Posted For this Question
Be the First to Post Answer
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
how to display 2-D array elements in spiral
How does selection sort work in c?
Is python a c language?
What are the primitive data types in c?
how do you programme Carrier Sense Multiple Access
Function calling procedures? and their differences? Why should one go for Call by Reference?
what is the format specifier for printing a pointer value?
What is the total generic pointer type?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,
What is the return type of sizeof?