study the code:
#include<stdio.h>
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?
A)100,101 B)100,100 C)101,101 D)None of the
above
Answer Posted / jitendra kumar arya
(d),because n treat as a chracter.
ans is 100n ,101n
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Dont ansi function prototypes render lint obsolete?
What do you understand by friend-functions? How are they used?
write a program to find out prime number using sieve case?
Explain what is the purpose of "extern" keyword in a function declaration?
Why is c so important?
Is there any demerits of using pointer?
#include
write a program to create a sparse matrix using dynamic memory allocation.
Can we assign integer value to char in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Write a program to print fibonacci series using recursion?
Can we declare a function inside a function in c?
What are the functions to open and close file in c language?