By default, a member of a structure will be of aut
Practice Bitwise Operators –
By default, a member of a structure will be of auto storage class.
By default, a member of a structure will be of aut
Practice Bitwise Operators –
By default, a member of a structure will be of auto storage class.
In which stage the following code
#include <std
Practice C Preprocessor –
In which stage the following code
#include <stdio.h>
gets replaced by the contents of the file stdio.h.
What are the types of linkages?
Practice Declarations and Initializations –
What are the types of linkages?
Which of the following is the correct usage of conditional operator
Practice C Preprocessor –
Which of the following is the correct usage of conditional operators used in C?
#include <stdio.h>
int mai
Practice Bitwise Operators –
#include <stdio.h>
int main(){
int x=10,y=x,z=x,t;
y-=x;
z=-x;
t=-x;
printf("y=%d z=%d t=%d
",y,z,t);
return 0;
}
Practice Bitwise Operators –
C language was developed by?
Practice Basic Concept –
C language was developed by?
#include <stdio.h>
int mai
Practice Functions –
#include <stdio.h>
int main(){
int i;
printf("happy new year");
for(i=1;i<=10;i++)
main();
}
In C, all functions except main() can be called recursivel
Practice Functions –
In C, all functions except main() can be called recursively.
#include <stdio.h>
Practice Library Functions –
#include <stdio.h>
int main(void) {
// your code goes here
int MyNameIs = 90;
int MyNameis = 80;
printf("""%d""",MyNameIs);
return 0;
}
#include<stdio.h>
i
Practice Bitwise Operators –
#include<stdio.h>
int main() {
int a = 5, b = 10;
a = a-- + --b;
b = b-- + --a;
printf("%d, %d", a, b);
return 0;
}
If you are using C language to implement the heterogeneous linked l
Practice Pointers –
If you are using C language to implement the heterogeneous linked list, what pointer type will you use?
An array arr[6][26] is sorted in the memory with each element requi
Practice Arrays –
An array arr[6][26] is sorted in the memory with each element requiring 2 bytes of storage.If the base address of array in memory is 2000,determine location of arr[5][7] when the array is stored in column major format.
#include <stdio.h>
char* f
Practice Functions –
#include <stdio.h>
char* fun()
{
return "awake";
}
int main()
{
printf("%s",fun()+ printf("I see you"));
getchar();
return 0;
}
A function that receives variable number of arguments should use
Practice Variable Number of Arguments –
A function that receives variable number of arguments should use va_arg() to extract the last argument from the variable argument list.