Is it better to use a macro or a function?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between array and structure in c?
difference between malloc and calloc
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
what is the difference between procedure oriented and object oriented progaming language
/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
write a program to swap two variables a=5 , b= 10 without using third variable
What's wrong with "char *p = malloc(10);" ?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
WHAT IS HEADER?
What is the use of a semicolon (;) at the end of every program statement?
write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that