What is external variable in c?
No Answer is Posted For this Question
Be the First to Post Answer
what is the maximum no. of bytes calloc can allocate
difference between memcpy and strcpy
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
i want to asked a question about c program the question is: create a c program that displays all prime numbers less than 500? using looping statement
Explain what are run-time errors?
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.
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"
Explain data types & how many data types supported by c?
program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }