If no node having a copy of a cache block, this technique is known as
What will be the output of the program
#include
int main()
{
void fun(int, int[]);
int arr[] = {1, 2, 3, 4};
int i;
fun(4, arr);
for(i=0; i<4; i++)
printf("%d,", arr[i]);
return 0;
}
void fun(int n, int arr[])
{
int *p=0;
int i=0;
while(i++ < n)
p = &arr[i];
*p=0;
}
What is the output of this C code? void main() { int k = 0; for (k < 3; k++) printf("Hello"); }
What does the following piece of code do?for(int i = 0; i < row; i++){ for(int j = 0; j < column; j++) { if(i == j) sum = sum + (array[i][j]); }}System.out.println(sum);
The keyword βbreakβ cannot be simply used within
What is the output of this C code? void main() { double k = 0; for (k = 0.0; k < 3.0; k++); printf("%lf", k); }
Automatic variables are variables that are