Is that possible to add pointers to each other?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
What is the scope of static variable in c?
how to write a c program to print list of fruits in alpabetical order?
wt is diference between int and int pointer as same as float and float pointer and char and char pointer
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.
Explain how do I determine whether a character is numeric, alphabetic, and so on?
How can I call a function, given its name as a string?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
what is the difference between char * const and const char *?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
Can you please explain the difference between exit() and _exit() function?
What is struct node in c?