What is an artificial neural network? Differentiate between deep learning and reinforcement learning.
An Artificial Neural Network is a computer system inspired by the human brain, designed to process information in a way […]
An Artificial Neural Network is a computer system inspired by the human brain, designed to process information in a way […]
#include<stdio.h> #includeint main(){int n[10],count=0,sum=0;int *ptr; ptr = (int*) malloc (10 * sizeof(int) );pritf(“Enter array elements”);for (int i=0;i<10;i++){scanf(“%d”,&n[i]);} for(inti=0;i<10;i++){if(n[i]%3==0){(ptr+i)=n[i]; count++; printf(“%d\n”,(ptr+i));sum=sum+*(ptr+i);}
Write a C program to store some integer variables in an array. (Q9) Read More »
#include<stdio.h>int main(){int n[10];int *ptr; ptr = (int*) malloc (10 * sizeof(int) );pritf(“Enter array elements”);for (int i=0;i<10;i++){scanf(“%d”,&n[i]);} for(inti=0;i<10;i++){if(n[i]%2==0){(ptr+i)=n[i]; printf(“%d\n”,(ptr+i));} } return
Write a C program to store some integer variables in an array. (Q8) Read More »
#include<stdio.h> #includeint main(){int *n; n = (char*) malloc (20 * sizeof(char) );pritf(“Enter your name”);gets(n); pritf(“Your name is”);while(n!=’0′); printf(“%c”,n++); return 0;}
#include<stdio.h> #includeint main(){int *n,x,large=0; n = (int*) malloc (10 * sizeof(int) );pritf(“Enter the runs scored by Virat Kohli in the
#include<stdio.h> #includeint main(){int *n; n = (int*) malloc (10 * sizeof(int) );pritf(“Enter the Number”);for( int i=0; i<10; i++ ){scanf(“%d”,(n +
char *ptr, x = ‘A’; ptr = &x; char *y; y = ptr; printf( “\n %c”, ++(*y) ); Output:B x
Write the output of the following code segment.(g) Read More »
char *ptr, x = ‘A’; ptr = &x; char y = ++(*ptr); printf(“\n %c”, y); Output:B Reasoning x is initialized
Write the output of the following code segment.(f) Read More »
char *ptr, x = ‘A’; ptr = &x; char y = (*ptr)++; printf(“\n %c”, y); Output:A Reasoning x is initialized
Write the output of the following code segment.(e) Read More »
char *ptr, x = ‘A’; ptr = &x; char y = *ptr; printf(“\n %c”, y); Output:A Reasoning x is initialized
Write the output of the following code segment.(d) Read More »