why program counter is 16 bit?
Answers were Sorted based on User's Feedback
Answer / vishnu
Program counter depends on the architecture. since
instructions will be fetched from memory and inorder to
address the address in the memory PC should be 16 bit. It
contains address from which memory should the next
instruction is fetched.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / sandeep rehlan
Since Program counter stores the address of the next
instruction to be executed.and address are of 2 bytes.
So,the program counter is a 16 bit.
Is This Answer Correct ? | 3 Yes | 0 No |
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
What are logical errors and how does it differ from syntax errors?
How do I convert a string to all upper or lower case?
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
void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?
What are structure types in C?
difference between object file and executable file
Give a fast way to multiply a number by 7
15 Answers Accenture, Aricent, Microsoft,
Differentiate between declaring a variable and defining a variable?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array