Tag: 2nd sem
DCCN 2016 Solution
2016 (8)
Continue ReadingC program 2021 Makeup
Q.no 1 . Explain the different types of data types with examples. In C programming, data types are declarations for variables. This determines the type and size of data associated with variables. Type of data types: Primary data types:These are fundamental data types in C namely integer(int), floating point(float), character(char) and void. Derived data types:Derived […]
Continue ReadingDCCN 2017 Solution
2018 1.Why there is bandwidth wastage in FDM? 2018 Ans: Due to the use of guard band in FDM, there is a bandwidth wastage as it uses the bandwidth of FDM. 2.Which layer is responsible for name recognition and security? 2018 Ans: For name recognition and security application layer and presentation layer are responsible […]
Continue ReadingDCCN 2015 Solution
1.How LAN is different form WAN.2015 2015 (8)
Continue ReadingC programming 2013
2013 Q.no 3 #include<stdio.h> int min(int a[],int n) //Returns minimum element in array { int i,minn=a[0]; for(i=0;i<n;i++) { if(a[i]<minn) minn=a[i]; } return minn; } int max(int a[],int n) //Returns maximum element in array { int i,maxx=a[0]; for(i=0;i<n;i++) { if(a[i]>maxx) maxx=a[i]; } return maxx; } void main() { int n,i,a[n],j,count=0,min_element,max_element,pov=0,neg=0,cou=0,small; printf(“Enter how many number to […]
Continue Reading